/* Styles for the contacto.html page */

/* Contact hero section */
.hero.contact-hero {
  background: url('https://cdn.glitch.global/29efe4f6-b226-490d-9792-5075025a0bfa/img%2Fmarvin-meyer-SYTO3xs06fU-unsplash.jpg?v=1745979188709') no-repeat center center;
  background-size: cover;
}

.hero.contact-hero h1,
.hero.contact-hero p,
.hero.contact-hero .btn-outline {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* Contact page layout */
.contact-page {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 3rem 0;
}

/* Contact info box */
.contact-info {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
}

.contact-info h2 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 1.5rem;
  position: relative;
}

.contact-info h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transition: width 0.3s ease;
}

.contact-info:hover h2:after {
  width: 100px;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.contact-details li:hover {
  transform: translateX(10px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.contact-text {
  flex: 1;
}

.contact-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.3rem;
  display: block;
}

.contact-value {
  color: #666;
}

/* Social links on the contact page */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(15, 117, 188, 0.4);
}

.contact-info .social-links {
  margin-top: 2.5rem;
}

.contact-info .social-link {
  width: 45px; 
  height: 45px;
  background: var(--gradient);
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(15, 117, 188, 0.2);
  text-decoration: none;
}

.contact-info .social-link:hover {
  transform: translateY(-8px) rotate(360deg);
  box-shadow: 0 8px 20px rgba(15, 117, 188, 0.4);
  transition: all 0.5s ease;
}

/* Contact form container */
.contact-form-container {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 0.5rem;
  position: relative;
}

.contact-form-container h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transition: width 0.3s ease;
}

.contact-form-container:hover h2:after {
  width: 100px;
}

.contact-form-container p {
  margin-bottom: 1.5rem;
  color: #666;
  margin-top: 1rem;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.form-group {
  flex: 1 0 calc(50% - 0.75rem);
  display: flex;
  flex-direction: column;
}

.full-width {
  flex-basis: 100%;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #444;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(15, 117, 188, 0.1);
  outline: none;
}

.contact-form .btn {
  margin-top: 1rem;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(15, 117, 188, 0.4);
}

/* Map container */
.map-container {
  height: 450px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive styles for the contact page */
@media (min-width: 992px) {
  .contact-page {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .form-group {
    flex-basis: 100%;
  }
}
